WP2FA\Admin\User C

Total Complexity 116
Dependencies 11
Dependents 8
Total lines 592
Lines of code 334
Logical lines of code 227
Comment lines 172
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
run_user_enforcement_check()
D
30 43 107
run_user_exclusion_check()
B
44 17 42
lock_user_account_if_needed()
A
43 13 46
get_totp_decrypted()
A
50 9 29
set_user_policies_and_grace()
A
49 7 33
check_methods_and_set_user()
S
58 6 15
get_totp_key()
S
58 5 15
needs_to_reconfigure_method()
S
69 4 6
update_meta_if_necessary()
S
62 3 12
determine_user()
S
66 3 9
get_instance()
S
68 2 7
is_user_set()
S
71 2 6
__construct()
S
77 1 4
get_2fa_wp_user()
S
82 1 3